package com.ruoyi.exapmle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 案例图片对象 mg_example_pic
 * 
 * @author 王强
 * @date 2024-01-22
 */
public class ExamplePic extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 案例id */
    @Excel(name = "案例id")
    private Integer exampleId;

    /** 案例图片 */
    @Excel(name = "案例图片")
    private String pic;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setExampleId(Integer exampleId) 
    {
        this.exampleId = exampleId;
    }

    public Integer getExampleId() 
    {
        return exampleId;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("exampleId", getExampleId())
            .append("pic", getPic())
            .toString();
    }
}
